using AutoMapper;
using DyEnd.Lib.Mapper.AutoMapper;
using DyEnd.Module.ZL24165_WCS.Application.homeService.ViewModels;
using DyEnd.Module.ZL24165_WCS.Domain.home;

namespace DyEnd.Module.ZL24165_WCS.Application.homeService
{
    public class MapperConfig : IMapperConfig
    {
        public void Bind(IMapperConfigurationExpression cfg)
        {
            cfg.CreateMap<homeAddModel, homeEntity>();
            cfg.CreateMap<homeEntity, homeUpdateModel>();
            cfg.CreateMap<homeUpdateModel, homeEntity>();
        }
    }
}
